; ***** BEGIN LICENSE BLOCK *****
;
; The contents of this file are subject to the Mozilla Public License Version 1.1
; (the "License"); you may not use this file except in compliance with the
; License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
;
; Software distributed under the License is distributed on an "AS IS" basis,
; WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
; the specific language governing rights and limitations under the License.
; 
; The Original Code is CnCNet Client code, Released 30th December 2009.
; 
; The Initial Developers of the Original Code are
; Adam Krock and John Sanderson. Portions created by
; the Initial Developer are Copyright (C) 2009
; the Initial Developer. All Rights Reserved.
;
; Contributor(s): Adam Krock, John Sanderson.
;
; Alternatively, the contents of this file may be used under the terms of
; either of the GNU General Public License Version 2 or later (the "GPL"),
; or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
; in which case the provisions of the GPL or the LGPL are applicable instead
; of those above. If you wish to allow use of your version of this file only
; under the terms of either the GPL or the LGPL, and not to allow others to
; use your version of this file under the terms of the MPL, indicate your
; decision by deleting the provisions above and replace them with the notice
; and other provisions required by the GPL or the LGPL. If you do not delete
; the provisions above, a recipient may use your version of this file under
; the terms of any one of the MPL, the GPL or the LGPL.
; 
; ***** END LICENSE BLOCK *****

; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{95856959-67E2-449A-9071-7B7C57D9445D}
AppName=CnCNet
AppVerName=CnCNet 1.2.0.0
AppPublisher=Command & Conquer Communication Center
AppPublisherURL=http://www.cnc-comm.com/community/index.php?board=71.0
AppSupportURL=http://www.cnc-comm.com/community/index.php?board=71.0
AppUpdatesURL=http://www.cnc-comm.com/community/index.php?board=71.0
DefaultDirName={pf}\CnCNet
DefaultGroupName=CnCNet
AllowNoIcons=yes
InfoBeforeFile=C:\Users\John.John-PC\Desktop\Stuff that needs to be sorted out\cncnet\Client\v4\Installer\Info.rtf
OutputDir=C:\Users\John.John-PC\Desktop\Stuff that needs to be sorted out\cncnet\Client\v4\Installer
OutputBaseFilename=CnCNetRelease
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
Name: "danish"; MessagesFile: "compiler:Languages\Danish.isl"
Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl"
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl"
Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl"
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "C:\Users\John.John-PC\Desktop\Stuff that needs to be sorted out\cncnet\Client\v4\Installer\CnCNet.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\John.John-PC\Desktop\Stuff that needs to be sorted out\cncnet\Client\v4\Installer\cncNet.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\John.John-PC\Desktop\Stuff that needs to be sorted out\cncnet\Client\v4\Installer\GeoIP.dat"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\CnCNet"; Filename: "{app}\CnCNet.exe"; WorkingDir: "{app}"
Name: "{group}\{cm:ProgramOnTheWeb,CnCNet}"; Filename: "http://www.cnc-comm.com/community/index.php?board=71.0"
Name: "{group}\{cm:UninstallProgram,CnCNet}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\CnCNet"; Filename: "{app}\CnCNet.exe"; Tasks: desktopicon; WorkingDir: "{app}"
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\CnCNet"; Filename: "{app}\CnCNet.exe"; Tasks: quicklaunchicon; WorkingDir: "{app}"

[Run]
Filename: "{app}\CnCNet.exe"; Description: "{cm:LaunchProgram,CnCNet}"; Flags: nowait postinstall skipifsilent


